package com.xuelang.pipeline.artifact.app.nexus3v1.request;

import com.xuelang.pipeline.artifact.app.nexus3v1.xo.CleanupPolicyAttributes;
import com.xuelang.pipeline.artifact.app.nexus3v1.xo.ComponentAttributes;
import com.xuelang.pipeline.artifact.app.nexus3v1.xo.HostedStorageAttributes;
import com.xuelang.pipeline.artifact.app.nexus3v1.xo.MavenAttributes;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiwen.zxg
 * @since 2024/7/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CreateMavenHostedRequest {
    private CleanupPolicyAttributes cleanup;
    private ComponentAttributes component;
    private MavenAttributes maven;
    /**
     * A unique identifier for this repository
     */
    private String name;
    /**
     * Whether this repository accepts incoming requests
     */
    private boolean online;
    private HostedStorageAttributes storage;
}
